package com.treasure.mall.biz.base;

import com.treasure.mall.zbq.common.ienum.auth.RoleEnum;

/**
 * 扩展
 *
 * @author allan
 * @version 1.0.0
 * @date 2020/6/12
 */
public interface UserDetails extends org.springframework.security.core.userdetails.UserDetails {
    /**
     * 得到角色类型
     *
     * @return
     */
    RoleEnum getRoleType();

    Long getId();

    /**
     * 展示名字
     *
     * @return
     */
    String getDisplayName();
}
